//
//  Bucket.h
//  Demo
//
//  Created by CG on 13-10-9.
//
//

#ifndef Demo_Bucket_h
#define Demo_Bucket_h


#include "Utils.h"
#include "BaseObject.h"
#include "cocos2d.h"
#include "Box2d.h"

using namespace cocos2d;


class Bucket : public BaseObject
{
public:
    Bucket();
    virtual ~Bucket();
    
    
    virtual void initWithFileAndType(const char *pszFilename, ObjectType objType);
    virtual void CreateBody(b2World* pWorld);
    
    virtual void SetObjectPosition(const cocos2d::CCPoint& position);
    virtual void SetObjectScale(const float scale);
    virtual void SetObjectRotation(const float fRotation);
    
private:
    b2Body* m_pBucketBody;
};


#endif
